home *** CD-ROM | disk | FTP | other *** search
- on startMovie
- global loadNext, animSpeed, waitTime1, subPageWait, mainPageWait, pgTurnSpeed, loopOnce, flashLoop, flashTime, playMode
- if the centerStage <> 1 then
- set the centerStage to 1
- end if
- updateStage()
- cursor(200)
- if the platform = "Macintosh,68K" then
- set loopOnce to 0
- set pgTurnSpeed to 2
- set loadNext to 0
- set animSpeed to 6
- set waitTime1 to 45
- set subPageWait to 90
- set mainPageWait to 90
- set flashLoop to 0
- set flashTime to 0
- else
- if the platform = "Macintosh,PowerPc" then
- set loopOnce to 0
- set pgTurnSpeed to 4
- set loadNext to 0
- set animSpeed to 8
- set waitTime1 to 45
- set subPageWait to 90
- set mainPageWait to 120
- set flashLoop to 0
- set flashTime to 0
- end if
- end if
- preLoad(1, 10)
- set the purgePriority of member "Pam1-8b" to 0
- set the keyDownScript to "keyWatcher"
- end
-
- on printCast whatMember
- set doc to new(xtra("PrintoMatic_Lite"))
- if not objectp(doc) then
- exit
- end if
- setMargins(doc, rect(36, 36, 36, 36))
- setDocumentName(doc, "Print Artist Sample Art")
- append(doc, member whatMember)
- if doJobSetup(doc) then
- print(doc)
- end if
- set doc to 0
- end
-
- on printCard whatMember
- set doc to new(xtra("PrintoMatic_Lite"))
- if not objectp(doc) then
- exit
- end if
- setMargins(doc, rect(28, 36, 36, 36))
- setDocumentName(doc, "Print Artist Sample Art")
- append(doc, member whatMember)
- if doJobSetup(doc) then
- print(doc)
- end if
- set doc to 0
- end
-
- on keyWatcher
- global playMode, oldMode
- if the key = "r" then
- repeat with x = 1 to 30
- puppetSprite(x, 0)
- end repeat
- unLoadCast()
- go(1)
- end if
- if the key = "l" then
- set playMode to "W31MemLow"
- beep()
- end if
- if the key = "h" then
- set playMode to "W95MemOK"
- beep()
- end if
- if the key = "1" then
- repeat with x = 1 to 30
- puppetSprite(x, 0)
- end repeat
- unLoadCast()
- go("turn1")
- end if
- if the key = "2" then
- repeat with x = 1 to 30
- puppetSprite(x, 0)
- end repeat
- unLoadCast()
- go("scene2")
- end if
- if the key = "3" then
- repeat with x = 1 to 30
- puppetSprite(x, 0)
- end repeat
- unLoadCast()
- go("s3a")
- end if
- if the key = "4" then
- repeat with x = 1 to 30
- puppetSprite(x, 0)
- end repeat
- unLoadCast()
- go("s4turn1")
- end if
- if the key = "5" then
- repeat with x = 1 to 30
- puppetSprite(x, 0)
- end repeat
- unLoadCast()
- go("s5turn")
- end if
- end
-